-- GENERATED SPELL FOR [Hive'Ashi Defender] --


function spell0_11722(pUnit, Event) --@Disarm,n/a--
pUnit:FullCastSpellOnTarget(6713,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_11722', 5284, 1)
end

function Sorts_11722(pUnit, Event)
local choix_sorts_11722 = math.random(0, 0)
if choix_sorts_11722 == 0 then
pUnit:RegisterEvent('spell0_11722', 1, 1)
end
end

function mob11722_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_11722', math.random(1500, 3000), 1)
end

function mob11722_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob11722_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob11722_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(11722, 1, 'mob11722_Action')
RegisterUnitEvent(11722, 2, 'mob11722_Leave')
RegisterUnitEvent(11722, 3, 'mob11722_Kill')
RegisterUnitEvent(11722, 4, 'mob11722_Die')
